package cn.niit.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUser {
    private Long id;
    private Integer delFlag;
    private Date gmtCreate;
    private Date gmtModified;
    private Long createUserId;
    private String createUserName;
    private Long modifyUserId;
    private String modifyUserName;
    private String userCode;    //用户编码
    private String userName;    //用户名称
    private String userSalt;    //用户随机盐
    private String password;    //用户密码

    private Date loginTime;        //登录时间

    @Override
    public String toString() {
        return "SysUser{" +
                ", id='" + this.getId() + '\'' +
                ", userCode='" + userCode + '\'' +
                ", userName='" + userName + '\'' +
                ", userSalt='" + userSalt + '\'' +
                ", password='" + password + '\'' +

                ", loginTime=" + loginTime +
                '}';
    }
}
